package com.baomibing.flow.service;

import com.baomibing.core.common.SearchResult;
import com.baomibing.flow.dto.SysFlowInstanceDto;

public interface SysFlowInstanceService {

    void saveInstance(SysFlowInstanceDto instance);

    void updateInstance(SysFlowInstanceDto instance);

    SysFlowInstanceDto getInstance(String id);

    SearchResult<SysFlowInstanceDto> searchByFlow(SysFlowInstanceDto v, int pageNumber, int pageSize);
}
